package com.uinfor.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @descripttion:
 * @Author: WZH
 * @Date :2021/1/20  17:00
 **/
@Configuration
public class ResTempletConfig {
    @Bean
    @LoadBalanced
    public RestTemplate getRestTemplet(){
        return new RestTemplate();
    }
}
